﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="eCommerce.CMS.CustomAdmin.Controls.Subscribers.List" %>
<h3>Manage Subscribers</h3>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowCreated="GridView1_RowCreated" CssClass="gridtable" OnRowDataBound="GridView1_RowDataBound" OnRowCommand="GridView1_RowCommand" Width="640px">
	<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
	<Columns>
		<asp:TemplateField HeaderText="&nbsp;">
			<ItemTemplate>
				<asp:ImageButton ID="PluseBT" runat="server" ImageUrl="~/App_Themes/CMS/graphics/plussm.png" Visible="False" Width="18px" CommandName="_Show" />
				<asp:ImageButton ID="MinBT" runat="server" ImageUrl="~/App_Themes/CMS/graphics/minsm.jpg" Width="18px" CommandName="_Hide" />
			</ItemTemplate>
		</asp:TemplateField>
		<asp:BoundField DataField="id" HeaderText="ID" />
		<asp:BoundField DataField="name" HeaderText="Name" />
		<asp:BoundField DataField="email" HeaderText="Email" />
		<asp:BoundField DataField="status" HeaderText="Status" />
		<asp:TemplateField >
			<ItemTemplate>
				<asp:ImageButton runat="server" ID="Button_edit" CssClass="btn" CommandName="EditCustomer" CommandArgument='<%# Eval("id")%>' OnCommand="ButtonEditCommand" Width="18px" Height="18px" ImageUrl="~/App_Themes/CMS/graphics/pencil.png" />
			</ItemTemplate>
		</asp:TemplateField>
		<asp:TemplateField >
			<ItemTemplate>
				<asp:ImageButton runat="server" ID="Button_delete" Width="18px" Height="20px" ImageUrl="~/App_Themes/CMS/graphics/delsm.gif" CssClass="btn" CommandName="DeleteCustomer" CommandArgument='<%# Eval("id")%>' OnCommand="ButtonDeleteCommand" />
			</ItemTemplate>
		</asp:TemplateField>
		
	</Columns>
	<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
	<EditRowStyle BackColor="#D1D1D1" />
	<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
	<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
	<HeaderStyle BackColor="#58585A" Font-Bold="True" ForeColor="White" />
	<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:Button ID="btn_Backup" OnClick="btn_Backup_Onclick" runat="server" Text="Backup Subscribers" />
<%--<asp:Button runat="server" ID="Button_Add" OnClick="Button_Add_Click" Text="Add New Subscriber" />--%>
